﻿using System.Linq;

namespace Groove.Core.Player
{
    public class SupportedFileType
    {
        public static string[] typeExtensions = { ".mp3",".wma", ".ogg", ".flac", ".wav" };

        public static bool IsSupported(string typeExtension)
        {
            return typeExtensions.Any(o => o == typeExtension);
        }
    }
}
